package j05thorow;

public class J1 {
    public static void main(String[] args)throws Exception {
//        try {
//            f1();
//        }catch (ArrayIndexOutOfBoundsException e){
//
//        }catch (ArithmeticException e){
//
//        }catch (Exception e){
//            e.printStackTrace();
//        }
//
        f1();
        System.out.println("end");
        System.out.println("end");
        System.out.println("end");
    }
    static void f1() throws ArithmeticException,ArrayIndexOutOfBoundsException{
        System.out.println(10/0);

    }
}
